package cn.project.lemontree.dao;

import cn.project.lemontree.bean.Album;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlbumDao extends BaseMapper<Album> {
    List<Album> listpage(@Param("page")int page,@Param("size")int size,@Param("theme")String theme,@Param("parentId")Integer parentId);
    int count(@Param("theme") String theme,@Param("parentId") Integer parentId);
    int save(Album album);
    Album findById(Integer albumId);
}
